<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,del')}
                        <a class="btn btn-success btn-normal btn-disabled disabled" href="javascript:;" data-params="status=normal">{:__('启用')}</a>
                        <a class="btn btn-primary btn-hidden btn-disabled disabled" href="javascript:;" data-params="status=hidden">{:__('禁用')}</a>
                        <a class="btn btn-primary-light btn-disabled disabled" id="company" href="javascript:;">{:__('批量分组')}</a>
                        <a class="btn btn-primary-light btn-disabled disabled" id="level" href="javascript:;">{:__('批量等级')}</a>
<!--                        <div class="dropdown btn-group {:$auth->check('user/user/multi')?'':'hide'}">-->
<!--                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>-->
<!--                            <ul class="dropdown-menu text-left" role="menu">-->
<!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>-->
<!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>-->
<!--                            </ul>-->
<!--                        </div>-->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit=""
                           data-operate-del="{:$auth->check('user/user/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>

<form id="group" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="user/user/group" style="display: none; padding: unset;">
    <div class="form-group" style="margin: 25px 0!important;">
        <div class="col-xs-2 col-sm-2"></div>
        <div class="col-xs-8 col-sm-8" style=" padding: unset!important;">
            <input id="c-job_company_id" data-rule="required" data-source="company/index" data-params='{"custom[status]":1}' data-field="company_name" class="form-control selectpage" name="company_id" type="text" value="">
        </div>
        <div class="col-xs-2 col-sm-2"></div>
    </div>
    <input type="hidden" name="ids" value="">
    <div class="form-group layer-footer" style="margin: 25px 0!important;">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8" style=" padding: unset!important;">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

<form id="level-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="user/user/level" style="display: none; padding: unset;">
    <div class="form-group" style="margin: 25px 0!important;">
        <div class="col-xs-2 col-sm-2"></div>
        <div class="col-xs-8 col-sm-8" style=" padding: unset!important;">
            <select  id="c-job_is_group" data-rule="required" class="form-control selectpicker" name="level">
                {foreach name="levelList" item="vo"}
                <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
        <div class="col-xs-2 col-sm-2"></div>
    </div>
    <input type="hidden" name="ids-level" value="">
    <div class="form-group layer-footer" style="margin: 25px 0!important;">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8" style=" padding: unset!important;">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>